package com.sven.idrivingfutureserver.pojo;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @ClassName UserInfo
 * @Description
 * @Author 小张
 * @Date 2024/5/29 15:24
 * @Version 1.0
 **/
@Data
@ToString
@Accessors(chain = true)
public class UserInfo implements Serializable {
    private static final long serialVersionUID = -6845442121394299333L;

    private int id;
    private String openId;
    private String unionId;
    private String sessionKey;
    private String username;
    private String avatar;
    private Integer gender;     // 0未知；1男；2女；
    private String country;     // 所在国家
    private String province;    // 所在省份
    private String city;        // 所在城市
    private String regTime;
    private String lastLogin;
}
